/**
 * StatusType.java
 */
package fss.transfer;

/**
 * The possible status of an activity.
 * 
 * @author thinh
 *
 */
public enum StatusType {
    /**
     * The initialized state.
     */
    INITIALIZED("Initialized"),
    /**
     * Inprogress status.
     */
    INPROGRESS("In progress"),
    /**
     * Paused status.
     */
    PAUSED("Paused"),
    /**
     * Completed status.
     */
    COMPLETED("Completed"),
    /**
     * Error status.
     */
    ERROR("Error"),
    /**
     * Cancelled status.
     */
    CANCELLED("Cancelled");
    /**
     * The display value.
     */
    private String displayValue;
    /**
     * Enumeration constructor instantiating how this enumeration
     * should be displayed.
     * @param displayValue
     */
    private StatusType(String displayValue) {
        this.displayValue = displayValue;
    }
    /**
     * Get the display value for this enumeration.
     * @return the display value.
     */
    public String getDisplayValue() { return displayValue; }
}
